<div class="pagos form">
<?php echo $this->Form->create('User',array('controller'=>'users','action'=>'perfil'));?>
	<fieldset>
 		<legend><?php __('Contribuyente'); ?></legend>
<?php
    //Debugger::dump($ultimoPago);
    //print_r($ultimoPago);
    echo "<h1>" . $ultimoPago[0]['Contribuyente']['nombre'] . "</h1><br>";
    
?>
	</fieldset>
    <fieldset>
 		<legend><?php echo  $ultimoPago[0]['Impuesto']['descripcion'] ; ?></legend>
        <?php
    echo "Ultimo pago el: " . $ultimoPago[0]['Pago']['modified'] ."<br>";
    echo "Pagar: " . (($ultimoPago[0]['Impuesto']['alicuota'] * 78) + $ultimoPago[0]['Impuesto']['costo']) ."<br>";
    echo $this->Form->input('monto');
        ?>
    </fieldset>
<?php echo $this->Form->end(__('Pagar', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
        <li><?php echo $this->Html->link(__('Volver', true), array('controller' => 'contribuyentes', 'action' => 'pago',$ultimoPago[0]['Contribuyente']['id'] )); ?> </li>
	</ul>
</div>
